    server {
        listen 443 ssl http2;
        server_name soc.coffee-cms.com;
        root /home/www/soc.coffee-cms.com/htdocs;
        error_log /home/www/soc.coffee-cms.com/error.log warn;
        access_log /home/www/soc.coffee-cms.com/access.log;
        ssl_certificate /home/www/coffee-cms.com/coffee-cms.com.crt;
        ssl_certificate_key /home/www/coffee-cms.com/coffee-cms.com.key;
        expires 14d;
        gzip on;
        gzip_types text/html text/plain text/css application/json application/javascript;
        client_max_body_size 30m;
        location / {
            index index.html /index.php;
            try_files $uri $uri/ /index.php?$query_string;
        }

        location ~ \.php(/|$) {
            fastcgi_split_path_info ^(.+\.php)(/.+)$;
            fastcgi_pass unix:/run/php-fpm/php-fpm.sock;
            fastcgi_buffering off;
            fastcgi_request_buffering off;
            fastcgi_index index.php;
            include fastcgi.conf;
            fastcgi_param PATH_INFO $fastcgi_path_info;
            expires off;
        }

        location ~ /\. {
            deny  all;
        }

        location /favicon.ico {
            return 204;
            access_log off;
            log_not_found off;
        }
    }
